@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  --bg: #001c39;
  --blue: #064081;
  --blue-2: #005baa;
  --gold: #ffba00;
  --ink: #0f172a;
  --muted: #334155;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.12);
  --shadow: 0 14px 40px rgba(0,0,0,0.18);
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 18px;
}

body {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  line-height: 1.6;
  background-color: #fff;
}

/* Top bar */
.faixa-topo h1 {
  font-size: 32px;
  color: #fff;
  margin: 0;
  font-weight: 800;
  text-align: center;
  background-color: var(--blue);
  padding: 22px 18px;
  letter-spacing: 0.3px;
}

/* Page wrapper */
.page{
  width: 100%;
}

/* Banner */
.hero-banner{
  height: 420px;
  margin: 0 auto 22px;
  overflow: hidden;
  position: relative;
  background-image: url('images/banner-empresas.png'); /* TROQUE PELO SEU ARQUIVO */
  background-size: cover;
  background-position: top;
}

/* Letreiro à direita (não é fundo do banner; é uma placa discreta para legibilidade) */
.hero-label{
  position: absolute;
  right: 160px;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 18px;
  border-radius: 14px;
  color: #ffb500;
  font-weight: 800;
  font-size: 45px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: right;
}

/* Actions section */
.empresa-actions{
  width: min(1200px, 100%);
  margin: 0 auto 22px;
}

.actions-card{
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 28px;
  border: 1px solid var(--border);
}

.actions-lead{
  font-size: 20px;
  font-weight: 600;
  color: #0b1b33;
  text-align: center;
  margin-bottom: 22px;
}

.actions-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-action{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-decoration: none;
  border-radius: 14px;
  padding: 18px 16px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
  user-select: none;
}

.btn-action:active{
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
}

.btn-action:hover{
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.btn-gold{
  background-color: var(--gold);
  color: #121212;
}

.btn-blue{
  background-color: var(--blue-2);
  color: #ffffff;
}

/* FAQ section */
.faq-section{
  width: min(1200px, 100%);
  margin: 0 auto;
}

.faq-card{
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 28px;
  border: 1px solid var(--border);
}

.faq-title{
  font-size: 26px;
  font-weight: 900;
  color: #0b1b33;
  margin-bottom: 6px;
}

.faq-subtitle{
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.faq-list{
  display: grid;
  gap: 10px;
}

.faq-item{
  border: 1px solid rgba(2, 8, 23, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.faq-q{
  cursor: pointer;
  padding: 16px 16px;
  font-weight: 800;
  color: #0b1b33;
  list-style: none;
  outline: none;
  position: relative;
}

.faq-item > summary::-webkit-details-marker{
  display: none;
}

.faq-q::after{
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 900;
  color: rgba(2, 8, 23, 0.65);
  font-size: 20px;
}

.faq-item[open] .faq-q::after{
  content: "–";
}

.faq-a{
  padding: 0 16px 16px 16px;
  color: #111827;
}

.faq-a p{
  margin-top: 10px;
  color: #111827;
}

.faq-a p:first-child{
  margin-top: 0;
}

/* Optional legacy styles kept to avoid breaking includes that might use them */
.redirect {
  width: 100%;
  background: #ffffff;
  padding: 60px 20px;
  margin: 40px 0;
  text-align: center;
}

.redirect h4 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 15px;
  font-weight: 600;
}

.redirect p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background-color: var(--gold);
  border-radius: 10px;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e0a800;
  color: #fff;
}

/* Responsive */
@media (max-width: 1000px) {
  .faixa-topo h1 {
    font-size: 24px;
    padding: 18px 14px;
  }

  .hero-banner{
display: none;
  }

  .hero-label{
    right: 14px;
    padding: 12px 14px;
    font-size: 18px;
    border-radius: 12px;
    max-width: calc(100% - 28px);
  }

  .actions-card,
  .faq-card{
    padding: 22px 16px;
    border-radius: 16px;
  }

  .actions-lead{
    font-size: 18px;
    margin-bottom: 16px;
  }

  .actions-grid{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .btn-action{
    font-size: 18px;
    padding: 16px 14px;
  }

  /* Se o seu top.php usar navbar-center, mantém este fallback */
  .navbar-center p{
    display: none;
  }
}
